package chimpazilla.app.co_obra;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Principal extends Activity {
	
	
	
	private Button Btvotar;
	private Button Btaprovados;
	private Button Btfeedback;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.principal);
	
		Btvotar = (Button)findViewById(R.id.votar);
		Btvotar.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent it = new Intent(Principal.this, Votar.class);
				startActivity(it);
				
			}
		});	
		
		Btaprovados = (Button)findViewById(R.id.aprovados);
		Btaprovados.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent it = new Intent(Principal.this, Aprovados.class);
				startActivity(it);
			}
		});
		
		Btfeedback = (Button)findViewById(R.id.feedback);
		Btfeedback.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent it = new Intent(Principal.this, Feedback.class);
				startActivity(it);
			}
		});
			
	
	
	
	
	
	
	}
	
	
	
	
	
	
}
